diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-15 23:08:25 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-15 23:28:24 +0100 |
| commit | 6f46e54e382bf3f535f27ebead18c2bdf4628e49 (patch) | |
| tree | 3285800f7c08afe25ebcf985bd5f643bdf7fc603 /src/pages/article/[slug].tsx | |
| parent | 4d0b13d22be1297c91316d5e52c8fb30ded5c7dd (diff) | |
chore(comments): handle comment reply
Diffstat (limited to 'src/pages/article/[slug].tsx')
| -rw-r--r-- | src/pages/article/[slug].tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pages/article/[slug].tsx b/src/pages/article/[slug].tsx index 509be4f..477503e 100644 --- a/src/pages/article/[slug].tsx +++ b/src/pages/article/[slug].tsx @@ -24,6 +24,7 @@ const SingleArticle: NextPageWithLayout<ArticleProps> = ({ post }) => { author, comments, content, + databaseId, dates, intro, seo, @@ -71,7 +72,7 @@ const SingleArticle: NextPageWithLayout<ArticleProps> = ({ post }) => { <Sharing title={title} excerpt={intro} /> </Sidebar> <section className={styles.comments}> - <CommentsList comments={comments} /> + <CommentsList articleId={databaseId} comments={comments} /> <CommentForm articleId={post.databaseId} /> </section> </article> |
